{layout name="p/base"}
  <div id="page-wrapper">
    <div class="row">
      <div class="col-lg-12">
        <h1>旅行币管理 <small>旅行币信息列表</small></h1>
        <ol class="breadcrumb">
          <li><a href="index.php"><i class="fa fa-dashboard"></i> 管理首页</a></li>
          <li class="active"><i class="fa fa-table"></i> 旅行币信息列表</li>
        </ol>
        <div class="alert alert-success alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          这里查看会员旅行币信息 
        </div>
      </div>
    </div>
    <!-- /.row -->
    <div class="row">
      <div class="col-lg-12">
        <form class="form-horizontal" role="form" action="/intergrate/index" method="get">
          <div class="form-group col-sm-2 input-group">  
            <label for="">请输入会员账号关键字</label>
            <input type="hidden" name="searchfield" value="user_mobile">
            <input class="form-control" type="text" value="{:input('get.keyword')}" placeholder="请输入会员信息" name="keyword">
            <label for="">&nbsp;</label>
            <span class="input-group-btn">
              <button class="btn btn-default" type="submit">搜索</button>
            </span>
          </div>
        </form>
        <div class="table-responsive">
          <table class="table table-bordered table-hover table-striped tablesorter">
            <thead>
              <tr>
                <th><div class="checker"><span><input type="checkbox" name=""></span></div></th>
                <th>时间</th>
                <th>类型</th>
                <th>旅行币</th>
                <th>会员账号</th>
                <th>备注</th>
              </tr>
            </thead>
            <tbody>
            {volist name='list' id='vo'}
              <tr>
                <td><div class="checker"><span><input type="checkbox" name=""></span></div></td>
                <td>{$vo.created_at}</td>
                <td>{$vo.type}</td>
                <td>{$vo.intergrate}</td>
                <td><a href="/user/read?id={$vo.users.id}">{$vo.users.mobile}</a></td>
                <td>{$vo.remark}</td>
              </tr>
            {/volist}
            </tbody>
          </table>
        </div> 
      </div>
      {$list->render()}
    </div>
    <!-- /.row -->
    
  </div><!-- /#page-wrapper -->

